package dto;

import java.util.LinkedList;

public class Paper {
	
	private Integer ID_DB;
	private Integer ID_CONICET;
	private String title;
	private LinkedList<Researcher> authors = new LinkedList<Researcher>();
	private String magazine;
	private String editorial;
	private String referencias;  
	private String isn; 
	private String resume;
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getMagazine() {
		return magazine;
	}

	public void setMagazine(String magazine) {
		this.magazine = magazine;
	}

	public String getEditorial() {
		return editorial;
	}

	public void setEditorial(String editorial) {
		this.editorial = editorial;
	}

	public String getReferences() {
		return referencias;
	}

	public void setReferences(String referencias) {
		this.referencias = referencias;
	}

	public String getIsn() {
		return isn;
	}

	public void setIsn(String isn) {
		this.isn = isn;
	}

	public String getResume() {
		return resume;
	}

	public void setResume(String resume) {
		this.resume = resume;
	}

	public LinkedList<Researcher> getAuthors() {
		return authors;
	}

	public void setAuthors(LinkedList<Researcher> authors) {
		this.authors = authors;
	}

	public Integer getID_DB() {
		return ID_DB;
	}

	public void setID_DB(Integer iD_DB) {
		ID_DB = iD_DB;
	}

	public Integer getID_CONICET() {
		return ID_CONICET;
	}

	public void setID_CONICET(Integer iD_CONICET) {
		ID_CONICET = iD_CONICET;
	}
	
	public void agregarAutor(Researcher r){
		authors.add(r);
	}

	public void eliminarAuthor(Researcher r) {
		authors.remove(r);
	}
	
	

}
